package com.lebang.model.back;

import lombok.Data;

/**
 * @Author: hwq
 * @Date: 2020/3/17 8:57
 * @Version 1.0
 */
@Data
public class Result<T> {
    /**
     * 是否成功
     */
    private boolean success;
    /**
     * 状态码
     */
    private String status;
    /**
     * 文字消息
     */
    private String message;
    /**
     * 数据
     */
    private T data;

    public Result(boolean success, T data) {
        this.success = success;
        this.data = data;
    }
    public Result() {
    }
}
